package com.authority.dao;

import java.util.List;

import com.authority.entry.AuthRoleTypeDO;
import com.authority.query.AuthRoleTypeQuery;

public interface AuthRoleTypeDAO {

	List<AuthRoleTypeDO> queryAuthRoleType(AuthRoleTypeQuery query);

	Long insertAuthRoleType(AuthRoleTypeDO authRoleTypeDO);

	int deleteAuthRoleTypeByIds(String ids);

	int updateAuthRoleType(AuthRoleTypeDO authRoleTypeDO);

	AuthRoleTypeDO queryAuthRoleTypeById(Long id);

	String queryTypeNameById(Long id);

	public int queryAuthRoleTypeCount(AuthRoleTypeQuery query);

	List<AuthRoleTypeDO> queryAuthRoleTypeBySysId(Long sysId);

}
